package test;

public class Triangle extends Shape {
	
	private double width;
	private double length;
	
	Triangle (double width, double length){
		this.width=width;
		this.length=length;
	}
	
	public double computeArea(){
		return width*length/2f;
	}
	
}
